<?php
class Core_Data_Password {
	
	public function __construct(){
		
	}
	
	public function generatePassword(){
		$passwordLength = 8;
		$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`~!@#$%^&*()-_=+[{]}\|,<.>/?";
		$password = substr(str_shuffle($chars),0,$passwordLength);
		return $password;
	}
}